package com.aviation.sell_ticket.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Aviation_order {

    private String order_id;//订单id

    private double price;//订单价格

    private LocalDateTime generation_time;//订单生成时间

    private Integer payment;//订单状态

    private String user_id;//用户id

    private String mailbox;//邮箱

    private String departure;//出发地

    private String destination;//目的地

    private Integer statusOrder;//如果订单成功，判断订单是否可以退票

    private List<Aviation_order_details> orderDetails;//订单详细信息
}
